<#assign contextPath=springMacroRequestContext.getContextPath() />
<#import "/public/frame/main.html" as frame />
<@frame.head "南航明珠商城-分类品牌列表">
</@frame.head>
<style>
 .trs td{text-align:center;}
</style>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 后台管理中心 <span class="c-gray en">&gt;</span> 商品管理 <span class="c-gray en">&gt;</span> 分类品牌列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
   <div class="text-c">
        <table class="table">
           <tr>  
           <td width="60px">品牌分类：</td>
           <td width="150px">
             <span class="select-box radius">
               <select class="select"  name="proType" id="prod_type1" >   
                 <option value="-1">请选择</option>
                 <#list prodTypeList as list>  
                 <option value="${list.id?c}">${list.name}</option>
                 </#list>
               </select>
             </span>  
           </td>  
           <td  width="60px">二级分类：</td>
           <td  width="150px">
             <span class="select-box radius"> 
               <select class="select" disabled="disabled" name="proType" id="prod_type2" >  
                 <option value="-1">请先选择品牌分类</option> 
               </select>
             </span>  
           </td> 
           <td></td>      
         </tr>
      </table>
    </div>

    <div class="cl pd-5 bg-1 bk-gray mt-20"> 
    <span class="l">
    <a href="javascript:;" onclick="addBrands();" class="btn btn-primary radius"> 增加品牌</a> 
    <a href="javascript:;" onclick="delBrands();" class="btn btn-warning radius"> 批量删除</a>
    </span>
    <span class="r">共有数据：<strong id="totalCount"></strong> 条</span> </div>
    <table class="table table-border table-bordered table-bg">
        <thead>
        <tr>
            <th scope="col" colspan="4">品牌列表</th>
        </tr>
        <tr  class="text-c">
            <th ><input  type="checkbox" id="selectAll"/> </th>
            <th >序号</th>
            <th >品牌名称</th>
            <th >操作</th>
        </tr>
        </thead>
        <tbody id="brand_tbody" class="table">
        
        </tbody>
    </table>
    <div id="div_page" style="padding-top: 10px;float: right"></div>
</div>
</div>
<@frame.end "default">
</@frame.end>
</html>
<script type="text/javascript" src="${contextPath}/resources/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="${contextPath}/resources/js/laypage/laypage.js"></script>
<script type="text/javascript" src="${contextPath}/resources/js/brand/query_product_name_list.js"></script>
<script type="text/javascript" >
var path="${contextPath}";
</script>